runtime.p.status (field)
35 uses
runtime (current package)
mgc.go#L1204: if pp.status == _Pidle {
mgcpacer.go#L720: if p.status != _Prunning {
preempt.go#L288: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
proc.go#L1564: gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
proc.go#L1570: s := pp.status
proc.go#L1571: if s == _Psyscall && atomic.Cas(&pp.status, s, _Pgcstop) {
proc.go#L1591: pp.status = _Pgcstop
proc.go#L1628: if pp.status != _Pgcstop {
proc.go#L2084: s := p2.status
proc.go#L2089: if s == _Psyscall && p2.runSafePointFn == 1 && atomic.Cas(&p2.status, s, _Pidle) {
proc.go#L3055: pp.status = _Pgcstop
proc.go#L3208: pp.status = _Pgcstop
proc.go#L4475: atomic.Store(&pp.status, _Psyscall)
proc.go#L4522: if sched.stopwait > 0 && atomic.Cas(&pp.status, _Psyscall, _Pgcstop) {
proc.go#L4730: if oldp != nil && oldp.status == _Psyscall && atomic.Cas(&oldp.status, _Psyscall, _Pidle) {
proc.go#L5586: pp.status = _Pgcstop
proc.go#L5691: pp.status = _Pdead
proc.go#L5769: gp.m.p.ptr().status = _Prunning
proc.go#L5792: pp.status = _Pidle
proc.go#L5826: pp.status = _Pidle
proc.go#L5884: if pp.m != 0 || pp.status != _Pidle {
proc.go#L5892: print("wirep: p->m=", pp.m, "(", id, ") p->status=", pp.status, "\n")
proc.go#L5898: pp.status = _Prunning
proc.go#L5919: if pp.m.ptr() != gp.m || pp.status != _Prunning {
proc.go#L5920: print("releasep: m=", gp.m, " m->p=", gp.m.p.ptr(), " p->m=", hex(pp.m), " p->status=", pp.status, "\n")
proc.go#L5925: pp.status = _Pidle
proc.go#L6236: s := pp.status
proc.go#L6276: if atomic.Cas(&pp.status, s, _Pidle) {
proc.go#L6303: if pp.status != _Prunning {
proc.go#L6371: print(" P", i, ": status=", pp.status, " schedtick=", pp.schedtick, " syscalltick=", pp.syscalltick, " m=")
proc.go#L6914: if pp.status == _Prunning {
runtime2.go#L652: status uint32 // one of pidle/prunning/...
tracestatus.go#L79: switch pp.status {
tracestatus.go#L82: if pp.status == _Pgcstop && inSTW {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |